package eino_demo

import "context"
import "github.com/einoo/ark"

func main() {
	ctx := context.Background()
	config := ark.NewConfig(ctx, "openai", "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
	model, _ := ark.NewChatModel(ctx, config) // 创建一个豆包大模型
	message, _ := model.Generate(ctx, []*Message{
		SystemMessage("you are a helpful assistant."),
		UserMessage("what does the future AI App look like?")}

}
